import request from "./request";

/* 获取年份和学历list */
export const getNianFen = () => {
  return request.post("/system/zbanji/getnianfen", {});
};

/**
 * 获取班级详情
 */
export const getClassDetail = body => {
  return request.post("/system/zbanji/getbanji", body);
};

/**f
 * 获取看点列表
 */

export const getKanDianList = () => {
  return request.post("/system/zkandian/getlist", {});
};

/**
 * 添加签名
 */

export const addSign = body => {
  return request.post("/system/zqianming/addqianming", body);
};

/**
 * 签名列表
 */
export const getSignList = () => {
  return request.post("/system/zqianming/getqianming", {});
};

/**
 * 获取首页文字视频
 */

export const getIndexData = () => {
  return request.post("/system/zshouye/getshouye", {});
};

/**
 * 点击班级获取学生名单
 */

export const getStuOfClass = body => {
  return request.post("/system/zxuesheng/getxuesheng", body);
};

/**
 * 获取组织架构
 */
export const getOrganization = body => {
  return request.post("/system/zzuzhi/getzuzhi", {});
};
/**
 * 获取单个学生
 */
export const getStudent = body => {
  return request.post("/system/zxuesheng/getxuesheng", body);
};
